package demo.proxy;

import demo.proxy.staticc.ToCPayProxy;
import demo.proxy.target.ToCPay;
import demo.proxy.target.impl.ToCPayImpl;

public class StaticProxyTest {
    public static void main(String[] args) {
        ToCPay toCPay = new ToCPayProxy(new ToCPayImpl());
        toCPay.pay();
    }
}
